package com.yiqi.lottery.entity.bo;

import com.suozhang.framework.entity.bo.BaseEntity;

public class RegisterBo implements BaseEntity {
    private String mobile;
    private String username;
    private String code;
    private String password;
    private String invite_code;
    private String ident_card;
    private String realname;

    public String getIdent_card() {
        return ident_card;
    }

    public void setIdent_card(String ident_card) {
        this.ident_card = ident_card;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getInvite_code() {
        return invite_code;
    }

    public void setInvite_code(String invite_code) {
        this.invite_code = invite_code;
    }

    /**
     * 注册
     */
    public RegisterBo(String mobile, String username, String code, String password, String invite_code) {
        this.mobile = mobile;
        this.username = username;
        this.code = code;
        this.password = password;
        this.invite_code = invite_code;
    }


    public RegisterBo() {
    }


    /**
     * 登陆
     **/
    public RegisterBo(String mobile, String password) {
        this.mobile = mobile;
        this.password = password;
    }



    /**
     * 找回密码
     */
    public RegisterBo(String mobile, String code, String password) {
        this.mobile = mobile;
        this.code = code;
        this.password = password;
    }

    /**
     * 用户实名认证
     */
    public RegisterBo(String mobile, String code, String ident_card, String realname) {
        this.mobile = mobile;
        this.code = code;
        this.ident_card = ident_card;
        this.realname = realname;
    }


    @Override
    public String toString() {
        return "RegisterBo{" +
                "mobile='" + mobile + '\'' +
                ", username='" + username + '\'' +
                ", code='" + code + '\'' +
                ", password='" + password + '\'' +
                ", invite_code='" + invite_code + '\'' +
                '}';
    }
}
